<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Jobs' Details</title>
<link rel="stylesheet" type="text/css" href="css/view.css" media="all">
</head>

<body id="main_body" >
<!-- 
I need these data from here:
`usertable`.`idusertable`, `usertable`.`firstname`, `usertable`.`lastname`, 
`usertable`.`email`, `usertable`.`password`, `usertable`.`isstudent`, 
`usertable`.`isemployer`, `usertable`.`city`, `usertable`.`state`, `usertable`.`zipcode`
 -->	

<!-- 
<s:form action="add" method="post">
	<s:textfield name="contact.firstName" label="Firstname"/>
	<s:textfield name="contact.lastName" label="Lastname"/>
	<s:textfield name="contact.emailId" label="Email"/>
	<s:textfield name="contact.cellNo" label="Cell No."/>
	<s:textfield name="contact.website" label="Homepage"/>
	<s:textfield name="contact.birthDate" label="Birthdate"/>
	<s:submit value="Add Contact" align="center"/>
</s:form>
 -->

	<img id="top" src="images/top.png" alt="">
	<div id="form_container">
	<div class="header">
		 <div id="mymenu">
		 <ul>
		 
		 <li>
		 	<a class="color2" href="CreateJob">Create Jobs</a>
		 </li>
		 
		 <li>
		 	<a class="color2" href="searchemployees.jsp">Find Candidates</a>
		 </li>

			 <li>
		 	<a class="color2" href="LogoutAction">Logout</a>
		 </li>		 
		 </ul>

 		
       </div> 
        </div>
        
               <div class="form_description">
			<h2>Job Details</h2>
		</div>	
	 	<table ><tr><td  width="140px" style="text-align:center"></td><td>	
			<s:form class="appnitro">
	
			<table id="details">
				<tr>
					<td>Organization:</td>
					<td><s:property value="jobDetails.organisation"/></td>
				</tr>
				<tr>
					<td>Title:</td>
					<td><s:property value="jobDetails.title"/></td>
				</tr>
				<tr>
					<td>Salary:</td>
					<td><s:property value="jobDetails.salary"/></td>
				</tr>
				<tr>
					<td>Job City:</td>
					<td><s:property value="jobDetails.city"/></td>
				</tr>
				<tr>
					<td>Job State:</td>
					<td><s:property value="jobDetails.state"/></td>
				</tr>
				<tr>
					<td>Job Description:</td>
					<td><s:property value="jobDetails.description"/></td>
				</tr>
				<tr>
					<td>Job Contact:</td>
					<td><s:property value="jobDetails.contact"/></td>
				</tr>
				<tr>
					<td>Job Skill 1:</td>
					<td><s:property value="jobDetails.skill1"/></td>
				</tr>
				<tr>
					<td>Job Skill 2:</td>
					<td><s:property value="jobDetails.skill2"/></td>
				</tr>
				<tr>
					<td>Days of week:</td>
					<td><s:property value="daysofweek"/></td>
				</tr>
				<tr>
					<td>Start Time:</td>
					<td><s:property value="startTime"/></td>
				</tr>
				<tr>
					<td>End Time:</td>
					<td><s:property value="endTime"/></td>
				</tr>
			</table>		
			</s:form>
			</td>
			</tr>
		</table>
		
        <br>
        <div class="form_description">
			<h2>Current Applicants</h2>
		</div>	
		
		<table><tr><td  width="140px" ></td><td>	
		<s:form class="appnitro">
			<table id="results">
			<tr>
				<th>Name</th>
				<th>Circles</th>
				<th>Status</th>
				<th>Action</th>
			</tr>
		<s:iterator value="appUserList" var="appliedUser">
			<tr>
				<td><s:property value="fname"/> <s:property value="lname"/></td>
				<td><a>Circle</a></td>
				<td><s:property value="status"/></td>
				<td><a href="selectUser?id=<s:property value="userid"/>">Select for job</a><br/><a href="viewUser?id=<s:property value="userid"/>">View Profile</a></td>
			</tr>	
		</s:iterator>
		</table>
		</s:form>
				</td>
			</tr>
		</table>
		
		
		
			
		<br><br><div id="footer"><br/>
			©Team Bazinga

		</div></div>
	<img id="bottom" src="register_files/bottom.png" alt="">
	</body>

</html>
